package com.mall.shop.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;

/**
 * 仓库信息(WareInfo)表实体类
 *
 * @author 龙茶清欢
 * @since 2023-01-15 13:48:06
 */
@Getter
@Setter
@TableName("wms_ware_info")
@Schema(name = "仓库信息实体", description = "仓库信息映射")
public class WareInfo implements Serializable {
    private static final long serialVersionUID = 895235447319472961L;

    @TableId(value = "id" , type = IdType.AUTO)
    @Schema(description = "id")
    private Long id;

    @TableField(value = "name")
    @Schema(description = "仓库名")
    private String name;
    
    @TableField(value = "address")
    @Schema(description = "仓库地址")
    private String address;
    
    @TableField(value = "areacode")
    @Schema(description = "区域编码")
    private String areacode;
    
}

